.class public Lcom/estrongs/android/pop/app/openscreenad/q;
.super Les/ll;
.source "InfoOpenScreenData.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/pop/app/openscreenad/q$a;
    }
.end annotation


# instance fields
.field public c:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/estrongs/android/pop/app/openscreenad/q$a;",
            ">;"
        }
    .end annotation
.end field

.field public d:I

.field public e:I


# direct methods
.method public constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Les/ll;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput v0, p0, Lcom/estrongs/android/pop/app/openscreenad/q;->d:I

    const/4 v0, 0x1

    .line 3
    iput v0, p0, Lcom/estrongs/android/pop/app/openscreenad/q;->e:I

    return-void
.end method


# virtual methods
.method public a(Lorg/json/JSONObject;)V
    .locals 4
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Exception;
        }
    .end annotation

    const-string v0, "ads"

    .line 1
    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->optJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v0

    const/4 v1, 0x0

    const-string v2, "protect_time"

    .line 2
    invoke-virtual {p1, v2, v1}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result v2

    iput v2, p0, Lcom/estrongs/android/pop/app/openscreenad/q;->d:I

    const/4 v2, 0x1

    const-string v3, "interval_count"

    .line 3
    invoke-virtual {p1, v3, v2}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result p1

    iput p1, p0, Lcom/estrongs/android/pop/app/openscreenad/q;->e:I

    if-eqz v0, :cond_2

    .line 4
    invoke-virtual {v0}, Lorg/json/JSONArray;->length()I

    move-result p1

    if-nez p1, :cond_0

    goto :goto_1

    .line 5
    :cond_0
    new-instance p1, Ljava/util/ArrayList;

    invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V

    iput-object p1, p0, Lcom/estrongs/android/pop/app/openscreenad/q;->c:Ljava/util/List;

    .line 6
    invoke-virtual {v0}, Lorg/json/JSONArray;->length()I

    move-result p1

    :goto_0
    if-ge v1, p1, :cond_2

    .line 7
    invoke-virtual {v0, v1}, Lorg/json/JSONArray;->optJSONObject(I)Lorg/json/JSONObject;

    move-result-object v2

    if-eqz v2, :cond_1

    .line 8
    new-instance v3, Lcom/estrongs/android/pop/app/openscreenad/q$a;

    invoke-direct {v3}, Lcom/estrongs/android/pop/app/openscreenad/q$a;-><init>()V

    .line 9
    invoke-virtual {v3, v2}, Lcom/estrongs/android/pop/app/openscreenad/q$a;->a(Lorg/json/JSONObject;)V

    .line 10
    iget-object v2, p0, Lcom/estrongs/android/pop/app/openscreenad/q;->c:Ljava/util/List;

    invoke-interface {v2, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_1
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_2
    :goto_1
    return-void
.end method
